package com.qianying.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 平台公司实体类
 */
@Data
@TableName("platform_company")
@Schema(description = "平台公司信息对象")
public class PlatformCompany {

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "公司名称")
    @TableField("company_name")
    private String companyName;

    @Schema(description = "公司简称")
    @TableField("company_abbreviation")
    private String companyAbbreviation;

    @Schema(description = "税号")
    @TableField("tax_number")
    private String taxNumber;

    @Schema(description = "税率1")
    @TableField("tax_rate1")
    private Integer taxRate1;

    @Schema(description = "税率2")
    @TableField("tax_rate2")
    private Integer taxRate2;

    @Schema(description = "税率3")
    @TableField("tax_rate3")
    private Integer taxRate3;

    @Schema(description = "启用状态")
    @TableField("enabled_status")
    private Boolean enabledStatus;

    @Schema(description = "描述")
    @TableField("description")
    private String description;
}